# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
LOCAL_CPP_FEATURES += exceptions
LOCAL_CPP_FEATURES += rtti

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE    := androidplus
LOCAL_SRC_FILES :=androidplus/messaging/message.cpp \
                  androidplus/messaging/messaging_abstract.cpp \
                  androidplus/messaging/messaging_pipe.cpp \
                  androidplus/and_config.cpp \
                  androidplus/activity.cpp \
                  androidplus/application.cpp \
                  androidplus/messaging/activity/message_activity_config_changed.cpp \
                  androidplus/messaging/activity/message_activity_content_rect_changed.cpp \
                  androidplus/messaging/activity/message_activity_destroy.cpp \
                  androidplus/messaging/activity/message_activity_gained_focus.cpp \
                  androidplus/messaging/activity/message_activity_init_window.cpp \
                  androidplus/messaging/activity/message_activity_input_changed.cpp \
                  androidplus/messaging/activity/message_activity_lost_focus.cpp \
                  androidplus/messaging/activity/message_activity_low_memory.cpp \
                  androidplus/messaging/activity/message_activity_pause.cpp \
                  androidplus/messaging/activity/message_activity_save_state.cpp \
                  androidplus/messaging/activity/message_activity_start.cpp \
                  androidplus/messaging/activity/message_activity_stop.cpp \
                  androidplus/messaging/activity/message_activity_resume.cpp \
                  androidplus/messaging/activity/message_activity_term_window.cpp \
                  androidplus/messaging/activity/message_activity_window_redraw_needed.cpp \
                  androidplus/messaging/activity/message_activity_window_resized.cpp \
                  androidplus/init.cpp \
                  androidplus/eventwatcher.cpp \
                  androidplus/main.cpp \
                  androidplus/ui/graphics.cpp \
                  androidplus/ui/surface.cpp \
                  androidplus/ui/element.cpp \
                  androidplus/ui/widget/drawable.cpp \
                  androidplus/ui/widget/geometry.cpp \
                  androidplus/ui/widget/shape.cpp \
                  androidplus/ui/widget/polygon.cpp \
                  androidplus/ui/widget/rectangle.cpp \
                  androidplus/ui/widget/triangle.cpp \
                  androidplus/ui/layout/container.cpp \
                  androidplus/ui/layout/dockcontainer.cpp \
                  androidplus/drawing/coor.cpp \
                  androidplus/drawing/point.cpp \
                  androidplus/drawing/color.cpp \
                  androidplus/drawing/matrix.cpp \
                  androidplus/nativeactivity.cpp \
                  androidplus/nativeactivity2D.cpp \
                  androidplus/nativeactivity3D.cpp \
                  androidplus/input/input_handler.cpp \
                  androidplus/input/input_handler_dpad.cpp \
                  androidplus/input/input_handler_keyboard.cpp \
                  androidplus/input/input_handler_mouse.cpp \
                  androidplus/input/input_handler_touchpad.cpp \
                  androidplus/input/input_handler_touchscreen.cpp \
                  androidplus/input/input_handler_trackball.cpp \
                  androidplus/input/event/motion_event.cpp \
                  androidplus/input/event/keyboard_event.cpp \
                  androidplus/test/test.cpp \
                  androidplus/test/testactivity.cpp                                                                 
LOCAL_LDLIBS    := -lm -llog -landroid -lGLESv2 -lEGL

include $(BUILD_SHARED_LIBRARY)





